using System;
using System.Collections;
using System.Collections.Generic;
using System.Text;
using System.Web.UI;
using System.Web.UI.WebControls;
using Telerik.WebControls;
using System.Web.UI.WebControls.WebParts;

namespace Butterfly.Library.Components.Tabs
{
	public class TabLayoutControl : UserControl
	{
		public ArrayList Zones
		{
			get
			{
				ArrayList arr = new ArrayList();
				foreach (Control c in this.Controls)
				{                    
					try
					{
                       RadDockingZone zone = (RadDockingZone) c;
                         //WebPartZone zone = (WebPartZone)c;
						if (zone != null) arr.Add(zone);
					}
					catch
					{

					}
				}
				return arr;
			}            
		}
	}
	
}
